home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / pcbevn25.zip / EVENT1.BAT < prev    next >
DOS Batch File  |  1992-06-24  |  950b  |  25 lines

  1. REM    ********      Example Node 1 Event          ********
  2.  
  3. pcbevent /start:1              ; Stamp node 1 caller log - event started
  4.  
  5. pcbevent /waitdown:2:500       ; Wait for node 2 to drop to the event
  6.                                ; but abort after waiting for 500 seconds
  7.  
  8. if errorlevel == 10 goto end   ; Check if node 2 droped to the event
  9.                                ; within the 500 seconds.  IF not
  10.                                ; goto the end of the event.
  11.  
  12. REM   =======================>   Your Event goes here.
  13.  
  14. :end
  15.  
  16. pcbevent /waitup:2:500         ; Wait for node 2 to finish the event
  17.                                ; but abort after waiting for 500 seconds
  18.  
  19. pcbevent /End:1                ; Stamp node 1 caller log - event ended
  20.  
  21.  
  22. REM ******* NOTE If this batch file is "CALL"ed from the event.bat
  23. REM *******      then this batch file will end and the event.bat will re-load
  24. REM *******      your board.
  25.